package firtest;

import javax.servlet.Servlet;
import javax.servlet.ServletException;
import java.io.IOException;

public class ServletDemo1  implements Servlet{

    @Override
    public void init(javax.servlet.ServletConfig servletConfig) throws ServletException {
        servletConfig.getInitParameter("url");

    }

    @Override
    public javax.servlet.ServletConfig getServletConfig() {
        return null;
    }

    @Override
    public void service(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) throws ServletException, IOException {
        System.out.println("SevletDemo1-service! 接受访问");


    }

    @Override
    public String getServletInfo() {
        return null;
    }

    @Override
    public void destroy() {

    }
}
